﻿using Newtonsoft.Json;

namespace Missbot.Model.MsgInfos
{
    public class MentionInfo : RootInfo
    {
        [JsonProperty("body")]
        public ChannelBody_Mention Body { get; set; }
    }

    public class ChannelBody_Mention : ChannelBody
    {
        [JsonProperty("body")]
        public MentionBody Body { get; set; }
    }

    public class MentionBody
    {
        [JsonProperty("id")]
        public string ID { get; set; }
        
        [JsonProperty("user")]
        public InstanceUser User { get; set; }
        
        [JsonProperty("text")]
        public string Text { get; set; }
        
        [JsonProperty("files")]
        public InstanceFile[] Files { get; set; }
    }
}